{{ header }}{{ column_left }}
<div id="content">
	<div class="page-header">
		<div class="container-fluid">
			<div class="float-end">
				<button type="submit" form="form-currency" formaction="{{ save }}" data-bs-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa-solid fa-floppy-disk"></i></button>
				<a href="{{ back }}" data-bs-toggle="tooltip" title="{{ button_back }}" class="btn btn-light"><i class="fa-solid fa-reply"></i></a></div>
			<h1>{{ heading_title }}</h1>
			<ol class="breadcrumb">
				{% for breadcrumb in breadcrumbs %}
					<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
				{% endfor %}
			</ol>
		</div>
	</div>
	<div class="container-fluid">
		<div class="alert alert-info"><i class="fa-solid fa-info-circle"></i> {{ text_iso }}</div>
		<div class="card">
			<div class="card-header"><i class="fa-solid fa-pencil"></i> {{ text_form }}</div>
			<div class="card-body">
				<form id="form-currency" action="{{ save }}" method="post" data-oc-toggle="ajax">
					<div class="row mb-3 required">
						<label for="input-title" class="col-sm-2 col-form-label">{{ entry_title }}</label>
						<div class="col-sm-10">
							<input type="text" name="title" value="{{ title }}" placeholder="{{ entry_title }}" id="input-title" class="form-control"/>
							<div id="error-title" class="invalid-feedback"></div>
						</div>
					</div>
					<div class="row mb-3 required">
						<label for="input-code" class="col-sm-2 col-form-label">{{ entry_code }}</label>
						<div class="col-sm-10">
							<input type="text" name="code" value="{{ code }}" placeholder="{{ entry_code }}" id="input-code" class="form-control"/>
							<div class="form-text">{{ help_code }}</div>
							<div id="error-code" class="invalid-feedback"></div>
						</div>
					</div>
					<div class="row mb-3">
						<label for="input-symbol-left" class="col-sm-2 col-form-label">{{ entry_symbol_left }}</label>
						<div class="col-sm-10">
							<input type="text" name="symbol_left" value="{{ symbol_left }}" placeholder="{{ entry_symbol_left }}" id="input-symbol-left" class="form-control"/>
						</div>
					</div>
					<div class="row mb-3">
						<label for="input-symbol-right" class="col-sm-2 col-form-label">{{ entry_symbol_right }}</label>
						<div class="col-sm-10">
							<input type="text" name="symbol_right" value="{{ symbol_right }}" placeholder="{{ entry_symbol_right }}" id="input-symbol-right" class="form-control"/>
						</div>
					</div>
					<div class="row mb-3">
						<label for="input-decimal-place" class="col-sm-2 col-form-label">{{ entry_decimal_place }}</label>
						<div class="col-sm-10">
							<input type="text" name="decimal_place" value="{{ decimal_place }}" placeholder="{{ entry_decimal_place }}" id="input-decimal-place" class="form-control"/>
						</div>
					</div>
					<div class="row mb-3">
						<label for="input-value" class="col-sm-2 col-form-label">{{ entry_value }}</label>
						<div class="col-sm-10">
							<input type="text" name="value" value="{{ value }}" placeholder="{{ entry_value }}" id="input-value" class="form-control"/>
							<div class="form-text">{{ help_value }}</div>
						</div>
					</div>
					<div class="row mb-3">
						<label for="input-status" class="col-sm-2 col-form-label">{{ entry_status }}</label>
						<div class="col-sm-10">
							<div class="form-check form-switch form-switch-lg">
                                <input type="hidden" name="status" value="0"/>
								<input type="checkbox" name="status" value="1" id="input-status" class="form-check-input"{% if status %} checked{% endif %}/>
							</div>
						</div>
					</div>
					<input type="hidden" name="currency_id" value="{{ currency_id }}" id="input-currency-id"/>
				</form>
			</div>
		</div>
	</div>
</div>
{{ footer }}
